<%@ page import="com.conversationboard.model.*" %>
<%@ page import="com.conversationboard.view.*" %>
<%@ page import="com.conversationboard.config.*" %>
<%@ page import="com.conversationboard.site.*" %>
<%@ page import="com.conversationboard.model.*" %>
<%@ page import="java.security.Principal" %>
<%@ page import="java.util.*" %>
<%@ page import="com.conversationboard.controller.confirm.Confirm" %>

<%@page pageEncoding="UTF-8"%>
<%@page contentType="text/html;charset=UTF-8"%>

<%
 	User user = User.get(request.getUserPrincipal().getName());
 	
 	if (user.getRole() != Role.SiteAdmin) {
 		return;
 	}
%>


<html>

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
		<title>Revoke Board Administration Privileges</title>
		<link rel="stylesheet" type="text/css" href="<%=Configuration.getInstance().getRoot()%>/Stylesheets/<%=StyleSheets.getStyleSheetFileName(request.getCookies())%>"/>
	</head>

	<body>
	
		<%= MainMenu.display(request.getUserPrincipal()) %>
	
		<div class="headingblock">
			<h1>Revoke Board Administration Privileges</h1>
		</div>

		<div class="mainblock">
			
			<form class="formsection" action="<%=Configuration.getInstance().getRoot()%>/Admin/AdminRevokePrivilegesControllerServlet" method="post">

			 	<%= Confirm.getKey(request.getUserPrincipal().getName()) %>

				<%= BoardAdminsDisplay.display() %>
		
				<br /><br />
			 	<input type="submit" value="     OK     " />

			</form>

		</div>

		<!--<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>-->
		<!--<script type="text/javascript">_uacct = "UA-1148679-1";urchinTracker();</script>--> 

	</body>
	
</html>
